package com.erp.remote.sale;

import com.erp.util.AjaxResult;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * @Description:销货订单远程接口
 * @Author: lyj
 * @Date: 2025/6/30 14:57
 */
@RequestMapping("/saleOrder")
public interface SaleOrderRemote {
    /**
     * @description: 报价单处理结果
     * @author: lyj
     * @date: 2025/7/18
     * @param: []
     * @return: com.erp.util.AjaxResult
     **/
    @PostMapping("/examinedResult")
    public AjaxResult examinedResult(@RequestBody Map<String,Object> params);

    /**
     * @description: 查询所有销货订单的数量
     * @author: lyj
     * @date: 2025/7/23
     * @param: [companyId]
     * @return: com.erp.util.AjaxResult
     **/
    @GetMapping("/getSaleOrderCount")
    AjaxResult getSaleOrderCount(@RequestParam("companyId") Integer companyId);
}
